package test;

public class ThreadA extends Thread {

	// MultiThreadSet multiThreadSet = new MultiThreadSet();
	MultiThreadSet multiThreadSet = MultiThreadSet.getInstance();
	BatchBean a_batchExecuteBean = new BatchBean("A");


	@Override
	public void run() {
		while (true) {
			try{
				multiThreadSet.init(a_batchExecuteBean);
				multiThreadSet.task("A");
				// multiThreadSet.task2("A",a_batchExecuteBean);
				// Thread.sleep(2000);
			}catch(Exception e){
				e.printStackTrace();
			}
		}
	}

}
